<template>
	<view class="content-header">
		<view class="settlement-goods">
			<view class="settlement-goods-it">
				<view class="settlement-goods-item flex-row flex-content-between">
					<view class="settlement-goods-item-text1">预留电话</view>
					<view class="settlement-goods-item-text2">18226664522</view>
				</view>
				<view class="settlement-goods-item flex-row flex-content-between">
					<view class="settlement-goods-item-text1">就餐时间</view>
					<view class="settlement-goods-item-text2">立即就餐</view>
				</view>
				<view class="settlement-goods-item flex-row flex-content-between">
					<view class="settlement-goods-item-text1">享用方式</view>
					<view class="settlement-goods-item-text2">门店就餐</view>
				</view>
			</view>
			<view class="settlement-goods-centos">
				<view class="settlement-goods-centos-n">
					<view v-for="goods in goods_list" class="settlement-goods-centos-ones flex-row flex-content-between">
						<view class="flex-row">
							<image class="settlement-goods-centos-ones-img1" src="../../static/index/gbjd.png" mode="widthFix"></image>
							<view class="flex-column flex-content-between settlement-goods-centos-ones-text1">
								<view>辣子鸡</view>
								<view>x1</view>
							</view>
						</view>
						<view class="settlement-goods-centos-ones-price">￥88.28</view>
					</view>
					<view class="settlement-goods-xiaoji flex-row-reverse">
						<view>小计 ￥137.56</view>
					</view>
				</view>
				
			</view>
			<view class="settlement-goods-pianhao">
				<view class="flex-row flex-content-between">
					<view class="settlement-goods-pianhao-text1">备注</view>
					<view class="flex-row settlement-goods-pianhao-text2 flex-item-center" @tap="gotopage">
						<view>口味、偏好等要求</view>
						<image src="../../static/order/xiangyou.png" mode="scaleToFill"></image>
					</view>
				</view>
			</view>
		</view>
		<mu-suspension bottom="0">
			<view class="settlement-foot">
				<view class="settlement-foot-zong flex-row flex-content-between">
					<view class="flex-row settlement-foot-header">
						<view>总计：</view>
						<view>￥137.56</view>
					</view>
					<view class="settlement-foot-button" @tap="submit">立即支付</view>
				</view>
			</view>
		</mu-suspension>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				goods_list:[
					{
						id:"",
						num:1,
					},
					{
						id:"",
						num:1,
					}
				]
			}
		},
		methods:{
			gotopage(){
				uni.navigateTo({
					url:'/pages/order/remarks'
				})
			},
			submit(){
				uni.navigateTo({
					url:'/pages/order/order_info'
				})
			}
		}
	}
</script>

<style lang="scss">
	.settlement-foot-button{
		width: 236rpx;
		height: 80rpx;
		background: #FF7336;
		border-radius: 40rpx 40rpx 40rpx 40rpx;
		opacity: 1;
		color: $default-button-foncolor;
		text-align: center;
		line-height: 80rpx;
		margin-right: 30rpx;
	}
	.settlement-foot{
		width: 750rpx;
		// height: 164rpx;
		background-color: #FFFFFF;
		padding-bottom: 50rpx;
	}
	.settlement-foot-zong{
		padding-top: 8rpx;
	}
	.settlement-foot-header{
		font-size: 32rpx;
		margin-top: 18rpx;
		font-family: PingFang SC-Bold, PingFang SC;
		font-weight: bold;
		color: $default-button-color;
		margin-left: 30rpx;
		>view:nth-child(1){
			font-size: 32rpx;
			font-family: PingFang SC-Bold, PingFang SC;
			font-weight: bold;
			color:#999999
		}
	}
	.settlement-goods-pianhao{
		width: 690rpx;
		height: 100rpx;
		background-color: #FFFFFF;
		margin-top: 20rpx;
		>view:nth-child(1){
			margin-left: 20rpx;
			margin-right: 20rpx;
		}
	}
	.settlement-goods-pianhao-text1{
		font-size: 28rpx;
		font-family: PingFang SC-Bold, PingFang SC;
		font-weight: bold;
		color: #333333;
		line-height: 100rpx;
	}
	.settlement-goods-pianhao-text2{
		font-size: 28rpx;
		font-family: PingFang SC-Regular, PingFang SC;
		font-weight: 400;
		color: #999999;
		line-height: 100rpx;
		>image{
			width: 12rpx;
			height: 22rpx;
			margin-left: 20rpx;
		}
	}
	.settlement-goods-xiaoji{
		border-top: 2rpx solid #F4F4F4;
		height: 104rpx;
		>view:nth-child(1){
			font-size: 32rpx;
			font-family: PingFang SC-Bold, PingFang SC;
			font-weight: bold;
			color: #333333;
			line-height: 104rpx;
		}
	}
	.settlement-goods-centos-ones-price{
		font-size: 28rpx;
		font-family: PingFang SC-Bold, PingFang SC;
		font-weight: bold;
		color: $default-button-color;
	}
	.settlement-goods-centos-ones{
		margin-bottom: 50rpx;
	}
	.settlement-goods-centos-ones-img1{
		width: 108rpx;
	}
	.settlement-goods-centos-ones-text1{
		margin-left: 20rpx;
		>view:nth-child(1){
			font-size: 30rpx;
			font-family: PingFang SC-Bold, PingFang SC;
			font-weight: bold;
			color: #333333;
			margin-top: 6rpx;
		}
		>view:nth-child(2){
			font-size: 28rpx;
			font-family: PingFang SC-Regular, PingFang SC;
			font-weight: 400;
			color: $default-button-color;
			margin-bottom: 6rpx;
		}
	}
	.settlement-goods-centos{
		width: 690rpx;
		background-color: #FFFFFF;
		// height: 432rpx;
		margin-top: 20rpx;
		padding-bottom: 30rpx;
	}
	.settlement-goods-centos-n{
		margin-top: 32rpx;
		margin-left: 20rpx;
		margin-right: 20rpx;
		>view:nth-child(1){
			// margin-top: 32rpx;
			padding-top: 32rpx;
		}
	}
	.settlement-goods{
		padding-top: 20rpx;
		margin-left: 30rpx;
		margin-right: 30rpx;
	}
	.settlement-goods-it{
		width: 690rpx;
		height: 300rpx;
		background-color: #FFFFFF;
	}
	.settlement-goods-item{
		// width: 100%;
		height: 100rpx;
		border-bottom: 1rpx solid #F4F4F4;
		margin-left: 20rpx;
		margin-right: 20rpx;
	}
	.settlement-goods-item-text1{
		font-size: 28rpx;
		font-family: PingFang SC-Regular, PingFang SC;
		font-weight: 400;
		color: #333333;
		line-height: 100rpx;
	}
	.settlement-goods-item-text2{
		font-size: 28rpx;
		font-family: PingFang SC-Bold, PingFang SC;
		font-weight: bold;
		color: #333333;
		line-height: 100rpx;
	}
</style>